וּסְבִיב֥וֹת בֵּית־הָאֱלֹהִ֖ים יָלִ֑ינוּ כִּֽי־עֲלֵיהֶ֣ם מִשְׁמֶ֔רֶת וְהֵ֥ם עַל־הַמַּפְתֵּ֖חַ וְלַבֹּ֥קֶר לַבֹּֽקֶר׃
And they lodged round about the house of God, because the charge thereof was upon them, and to them pertained the opening thereof morning by morning.
Rashi on I Chronicles
and they were [appointed] over the key[s] over the key[s] of the forecourt.